﻿using Abp.Runtime.Session;
using Castle.Core.Logging;

namespace Abp.Application.Services
{
    /// <summary>
    /// This class can be used as a base class for application services. 
    /// </summary>
    public abstract class ServiceManagerImpl :  IServiceManager
    {
        /// <summary>
        /// Gets current session information.
        /// </summary>
        public IAbpSession AbpSession { get; set; }

        public ILogger Logger { get; set; }

        /// <summary>
        /// Constructor.
        /// </summary>
        protected ServiceManagerImpl()
        {
            AbpSession = NullAbpSession.Instance;
            Logger = NullLogger.Instance;
        }
        
    }
}
